package pkg;

import pkg.networking.*;

public class NetworkEntityFactory extends EntityFactory {

	
	protected Object getEntity(String name) 
	{
		if(name.equals("player"))
			return createPlayer();
		return null;
	} 

	public Player createPlayer()
	{
		return new NetworkedPlayer();
	}

}
